package com.weidong.mybbs.mapper;

import com.weidong.mybbs.entity.Permission;
import com.weidong.mybbs.filter.PermissionFilter;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface PermissionMapper {
    /**
     * 查找全县
     * @param permissionFilter  filter
     * @return
     */
    List<Permission> findList(PermissionFilter permissionFilter);

    Permission findById(int id);
}
